$OpenBSD: patch-texmaker_cpp,v 1.15 2014/12/16 19:53:15 shadchin Exp $
--- texmaker.cpp.orig	Wed Nov 26 17:06:56 2014
+++ texmaker.cpp	Tue Dec  9 00:10:01 2014
@@ -4674,7 +4674,7 @@ QString dicDir=QCoreApplication::applicationDirPath() 
 #ifdef DEBIAN_SPELLDIR
 QString dicDir=PREFIX"/share/myspell/dicts/";
 #else
-QString dicDir=PREFIX"/share/texmaker/";
+QString dicDir=PREFIX"/share/hunspell/";
 #endif
 #endif
 
@@ -4687,7 +4687,7 @@ QString dicDir=QCoreApplication::applicationDirPath() 
 #endif
 QString defaultDic=dicDir+QString(QLocale::system().name())+".dic";
 QFileInfo fi(defaultDic);
-if (!fi.exists() || !fi.isReadable()) defaultDic=dicDir+"en_GB.dic";
+if (!fi.exists() || !fi.isReadable()) defaultDic=dicDir+"default.dic";
 spell_dic=config->value("Spell/Dic",defaultDic).toString();
 QFileInfo fispell(spell_dic);
 pdfCheckerLang=fispell.fileName().left(2);
